{extend name="base" /}
{block name="content"}
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-tab layui-tab-brief">
            <ul class="layui-tab-title">
                <li class="layui-this">预约记录</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <form class="layui-form" action="">
                        <table class="layui-table" lay-size="sm">
                            <thead>
                                <tr>
                                    <th>ID</th>
                                    <th>用户姓名</th>
                                    <th>用户手机号</th>
                                    <!--<th>儿童姓名</th>-->
                                    <th>课程名称</th>
                                    <th>预约时间</th>
                                    <th>课程时间</th>
                             
                                </tr>
                            </thead>
                            <tbody>
                            {foreach name="records" item="vo"}
                            <tr>
                                <td>{$vo.id}</td>
                                <td>{$vo.user_name}</td>
                                <td>{$vo.phone}</td>
                                <!--<td>{$vo.child_name}</td>-->
                                <td>{$vo.course_name}</td>
                                <td>{$vo.create_time}</td>
                                <td>{$vo.course_time}</td>
                    
                            </tr>
                            {/foreach}
                            </tbody>
                        </table>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}
